package com.example.hms.Dao;

import com.example.hms.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserDao {
    User login(@Param("userId")String userId);
    List<User> selectAllUser(@Param("userId")String userId,
                            @Param("userName")String userName,
                            @Param("roleName")String roleName);
    int insert(User user);
    int update(User user);






}
